package com.linjiahao.userCenter.client;

import com.linjiahao.servicebase.vo.NettyMessageVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Component
@FeignClient(name = "nettyOne")
public interface NettyServerClient {

    @PostMapping("/api/inner/sendMessage")
    public void sendMessageApi(@RequestBody NettyMessageVO nettyMessageVO);
}
